import java.io.BufferedReader;
import java.io.CharArrayReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * Created by IntelliJ IDEA.
 * User: sen
 * Date: 2010-11-10
 * Time: 23:29:36
 * To change this template use File | Settings | File Templates.
 */

public class Test {
    public static void main(String[] args) {
        String a = "jones.wang";
        char[] b = a.toCharArray();
        CharArrayReader car = new CharArrayReader(b);
        try {
            int c = car.read();
            while(c!=-1){
                System.out.print((char)c);
                c = car.read();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
